home *** CD-ROM | disk | FTP | other *** search
/ Aminet 12 / Aminet 12 (1996)(GTI - Schatztruhe)[!][Jun 1996].iso / Aminet / dev / c / AFramev01.lha / AFramev01 / Include / iconbar.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-06  |  901 b   |  41 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. // iconbar.hpp
  3. //
  4. // Jeffry A Worth
  5. // January 6, 1996
  6. //////////////////////////////////////////////////////////////////////////////
  7.  
  8. #ifndef __ICONBAR_HPP__
  9. #define __ICONBAR_HPP__
  10.  
  11. #define ICONBAR_SPACE    -1
  12.  
  13. //////////////////////////////////////////////////////////////////////////////
  14. // INCLUDES
  15.  
  16. #include "aframe:include/aframe.hpp"
  17. #include "aframe:include/panel.hpp"
  18. #include "aframe:include/iconbutton.hpp"
  19.  
  20. //////////////////////////////////////////////////////////////////////////////
  21. // 
  22.  
  23.  
  24.  
  25. class AFIconBar : public AFPanel
  26. {
  27.   public:
  28.     AFIconBar();
  29.  
  30.     virtual char *ObjectType() { return "IconBar"; };
  31.  
  32.     virtual void Create(AFWindow* pwindow, ULONG id, LPImage* imagelist, UWORD* idlist);
  33.     virtual void OnPaint();
  34.  
  35.     LPImage* m_imagelist;
  36.     UWORD* m_idlist;
  37.     AFNode *m_iconbuttons;
  38. };
  39.  
  40. #endif // __ICONBAR_HPP__
  41.